package com.gzxx.domain.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author MAX
 * @date 2020/8/13 10:37 上午
 * 分页查询dto封装
 */

@Data
@ApiModel(value = "分页查询实体", description = "分页查询实体")
public class RequestPage implements Serializable {

    private static final long serialVersionUID = -5346914901223871843L;

    @ApiModelProperty(value = "当前页", example = "1")
    private Integer page = 1;

    @ApiModelProperty(value = "分页条数", example = "10")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "排序字段", example = "")
    private List<OrderItem> orderItems;
}
